Successive approximation register analog to digital converter having adaptive current or voltage parameter adjustments

ABSTRACT

Systems and methods are related to a successive approximation analog to digital converter (SAR ADC). In one aspect, a method includes sampling, by a sample and digital to analog conversion (DAC) circuit, an input voltage to obtain a sampled voltage. The method also includes determining, by a comparator coupled to a set of storage circuits, a state of a plurality of bits corresponding to the sampled voltage. The comparator has a current parameter or voltage parameter adjusted based upon a conversion margin. Adjustment of the current parameter or the voltage parameter affects speed of determining the state of the bits. The method also includes storing the bits in the set of storage circuits. In some aspects, an SAR ADC is configured to perform the method.

FIELD OF THE DISCLOSURE

This disclosure generally relates to a communication system, including but not limited to a communication system including a successive approximation register analog to digital converter (SAR ADC).

BACKGROUND OF THE DISCLOSURE

Recent developments in communication and computing devices demand high data rates. For example, network switches, routers, hubs or any communication devices may exchange data at a high speed (e.g., 1 Mbps to 100 Gbps) to stream data in real time or process a large amount of data in a seamless manner. To process data efficiently in the digital domain, an amplitude or a voltage of a signal may be represented by multiple bits, and the signal may be exchanged between two or more communication devices through a cable or a wireless medium. For example, 1.2 V of a signal may be represented as a byte (B) such as 00010110, and 1.3 V of the signal may be represented as a B such as 00011001. To convert a voltage of an input signal into corresponding bits, some communication devices implement a SAR ADC. For example, the SAR ADC may determine a plurality of bits corresponding to the input signal through successive approximation. Process, voltage and temperature (PVT) variations can affect the speed, precision and/or accuracy of SAR ADCs.

BRIEF DESCRIPTION OF THE DRAWINGS

Various objects, aspects, features, and advantages of the disclosure will become more apparent and better understood by referring to the detailed description taken in conjunction with the accompanying drawings, in which like reference characters identify corresponding elements throughout. In the drawings, like reference numbers generally indicate identical, functionally similar, and/or structurally similar elements.

FIG. 1A is a general block diagram depicting a network environment including one or more access points in communication with one or more devices or stations, according to one or more embodiments.

FIGS. 1B and 1C are general block diagrams depicting computing devices useful in connection with the methods and systems described herein, according to one or more embodiments.

FIG. 2 is a general block diagram depicting a communication device, according to one or more embodiments.

FIG. 3A is a schematic diagram of a SAR ADC capable of being used in the communication device illustrated in FIG. 2 , according to one or more embodiments.

FIG. 3B is a more detailed drawing of a portion of the SAR ADC illustrated in FIG. 3 , according to one or more embodiments.

FIG. 4 is a schematic diagram of a conversion status circuit for the SAR ADC illustrated in FIG. 3A, according to one or more embodiments.

FIG. 5 is a timing diagram showing a conversion status signal provided by the conversion status circuit illustrated in FIG. 4 , according to one or more embodiments.

FIG. 6 is a schematic diagram of a current source circuit of the comparator utilized in the SAR ADC illustrated in FIG. 3A, according to one or more embodiments.

FIG. 7 is a schematic diagram of a comparator driver circuit for the SAR ADC illustrated in FIG. 3A, according to one or more embodiments.

FIG. 8 is a schematic diagram of an alternative comparator driver circuit for the SAR ADC illustrated in FIG. 3A, according to one or more embodiments.

FIG. 9 is a flow diagram showing a flow of adaptation operations for performance and power efficiency optimization for the SAR ADC illustrated in FIG. 3A, according to one or more embodiments.

FIG. 10 is a graph showing probability versus conversion margin for the SAR ADC of FIG. 3A, according to one or more embodiments.

The details of various embodiments of the methods and systems are set forth in the accompanying drawings and the description below.

DETAILED DESCRIPTION

For purposes of reading the description of the various embodiments below, the following descriptions of the sections of the specification and their respective contents can be helpful:

-   -   Section A describes a network environment and computing         environment which can be useful for practicing embodiments         described herein; and     -   Section B describes embodiments of systems and methods for power         efficient SAR ADC, according to one or more embodiments.

Various embodiments disclosed herein are related to a device for communication of data. In some embodiments, the device includes or is a SAR ADC employed in a physical layer product. In some embodiments, the SAR ADC is a high speed (e.g., with resolutions beyond 7 and speeds of several hundred Mega samples per second operating frequency). In some embodiments, the SAR ADC is adaptively tuned for PVT operations to increase speed or reduce noise as appropriate. The adaptive feedback technique can adjust the comparator driver threshold to increase the speed of operation in the slow corner without any or very little common mode voltage V_(CM) related error in the fast (FF) corner in some embodiments. Advantageously, systems and methods described herein can provide a SAR ADC that has reduced latency, reduced area, reduced mismatches, and increased bandwidth for large SAR ADC arrays.

In some embodiments, an optimized (e.g., for power consumption and performance) SARADC having adaptive current or voltage parameter adjustments is provided. The SAR DAC is configured to adjust current or voltage parameters associated with the comparator to adjust speed of the comparator operation. Systems and methods adjust the comparator bias current or threshold voltages to enable a very high speed comparator with low noise and reduced power consumption (by 10 percent or more) in some embodiments. In some embodiments, current or voltage parameters are adjusted or adaptively tuned in accordance with a conversion margin. In some embodiments, the conversion margin is indicative of an amount of unused time during the compare operation available within a sampling cycle. In some embodiments, the conversion margin is determined using a time delay and probability relationship. In some embodiments, the current or voltage parameters include a current bias for a comparator current source, a threshold voltage for a comparator driver, a current bias for a comparator driver, and/or a supply voltage (e.g., V_(DD) for the comparator or other voltage provided by an on-board or on-die supply regulator). In some embodiments, the SAR ADC employs an operational flow to sense conditions to determine the probability relationship and adjust the voltage and current parameters.

In some embodiments, the SAR ADC includes a data path configured for increased speed. The data path uses an enable signal (enable zero) to directly reset a capacitor digital to analog converter (CAPDAC) circuit which enables faster reset and improved CAPDAC circuit settling time. In some embodiments, the CAPDAC circuit receives feedback signals directly from ratioed latches instead of separate drivers, thereby increasing speed (e.g., by reducing the clock path delay significantly) and reducing layout complications. In some embodiments, the most significant bit (MSB) ratioed latch is driven by a single comparator driver while the remaining latches are driven by the single driver and another driver. In some embodiments, the use of this configuration of drivers reduces the load on the single comparator driver, thereby reducing settling time for the MSB and reducing layout complications.

Various embodiments disclosed herein are related to a device. The device includes a CAPDAC circuit to sample an input voltage to obtain a first sampled voltage, a comparator circuit coupled to the CAPDAC circuit, a set of storage circuits coupled to the comparator circuit and the CAPDAC circuit, and a control circuit coupled to the comparator circuit. The control circuit is configured to adjust a bias current used in the comparator circuit, a threshold voltage used in the comparator circuit, and/or a supply voltage used in the comparator circuit in response to a conversion margin. The set of storage circuits is configured to store a plurality of bits corresponding to the input voltage.

In some embodiments, the conversion margin is indicative of unused time during a compare operation available within a sampling cycle. In some embodiments, the control circuit is configured to determine the conversion margin and adjust the bias current, the threshold voltage, and/or the supply voltage on a periodic basis. In some embodiments, the control circuit is configured to determine the conversion margin and adjust the bias current, the threshold voltage, and/or the supply voltage at device power-up. In some embodiments, the control circuit is configured to adjust the bias current and the threshold voltage. In some embodiments, the control circuit is configured to adjust the bias current in response to the conversion margin, and the bias current is for a current mirror or a driver in the comparator circuit. In some embodiments, the control circuit is configured to adjust the threshold voltage in response to the conversion margin, and the threshold voltage is used by a driver in the comparator circuit. In some embodiments, the control circuit is configured to adjust the supply voltage in response to the conversion margin. In some embodiments, the device further includes a conversion status circuit configured to provide a conversion status signal, and the conversion status circuit includes a variable delay circuit. The control circuit adjusts the variable delay circuit to determine the conversion margin in some embodiments.

Various embodiments disclosed herein are related to an apparatus including a receiver. The apparatus can be used in communication applications. The receiver includes an analog-to-digital conversion (ADC) circuit including a comparator and a processor. The processor is configured to determine a conversion margin and adjust a current or voltage used in the comparator using the conversion margin.

In some embodiments, the processor provides one or more select signals to a multiplexer in the comparator to adjust the current or the voltage. In some embodiments, the processor is configured to adjust the current and determine a probability that the conversion margin is greater than a first threshold. In some embodiments, the processor adjusts the current when the current is above a minimum current value and the probability is above a second threshold.

In some embodiments, the processor is configured to adjust the voltage and determine a probability that the conversion margin is greater than a first threshold. The processor adjusts the voltage when the voltage is above a minimum voltage value and the probability is above a second threshold. The voltage is a threshold voltage for a driver in the comparator. In some embodiments, the processor is configured to adjust the voltage and determine a probability that the conversion margin is greater than a first threshold. The processor adjusts the voltage when the current is above a minimum voltage value and the probability is above a second threshold. The voltage is a supply voltage for a driver in the comparator. In some embodiments, the comparator and the processor are provided in an integrated circuit package. The processor is an on-chip integrated logic circuit or an analog correction loop in some embodiments.

In some embodiments, the processor is configured to adjust the supply current such that probability of a successful conversion is greater than a first threshold, and a successful conversion is defined when the conversion margin is greater than a second threshold. In some embodiments, the processor is configured to adjust the voltage such that probability of a successful conversion is greater than a first threshold. In some embodiments, the processor is configured to adjust the voltage such that probability of a successful conversion is greater than a first threshold. In some embodiments, the comparator and the processor are provided in an integrated circuit package, and the processor is a microprocessor, an on-chip integrated logic circuit, or an analog correction loop circuit in the integrated circuit package.

In some embodiments, the processor is configured to determine a probability that the conversion margin is greater than a first threshold and end adjustments when the current is above a minimum current value and the probability is just below or approximately equal to a second threshold. In some embodiments, the processor is configured to adjust the current and determine a probability that the conversion margin is greater than a first threshold. The processor adjusts the current when the current is above a minimum current value and the probability is above a second threshold. In some embodiments, the processor is configured to adjust the voltage when the voltage is above a minimum voltage value and the probability is above the second threshold. In some embodiments, second threshold is a percentage above 90 percent.

Various embodiments disclosed herein are related to a method. The method includes sampling, by a CAPDAC circuit, an input voltage to obtain a sampled voltage. The method also includes determining, by a comparator coupled to a set of storage circuits, a state of a plurality of bits corresponding to the sampled voltage. The comparator has a current parameter or voltage parameter adjusted based upon a conversion margin. Adjustment of the current parameter or the voltage parameter affects speed of determining the state of the bits. The method also includes storing the bits in the set of storage circuits.

In some embodiments, the conversion margin is related to a delay value determined in response to a sample clock and at least one enable signal for the storage circuits coupled to the comparator. In some embodiments, the adjustment is made in response to a probability that the conversion margin is above a first threshold is above a percentage threshold.

A. Computing and Network Environment

Prior to discussing specific embodiments of the present solution, it can be helpful to describe aspects of the operating environment as well as associated system components (e.g., hardware elements) in connection with the methods and systems described herein. Referring to FIG. 1A, an embodiment of a network environment is depicted. In brief overview, the network environment includes a wireless communication system that includes one or more access points (APs) 106, one or more wireless communication devices 102 and a network hardware component 192. The wireless communication devices 102 can for example include laptop computers, tablets, personal computers, and/or cellular telephone devices. The details of an embodiment of each wireless communication device 102 and/or AP or network device 106 are described in greater detail with reference to FIGS. 1B and 1C. The network environment can be an ad hoc network environment, an infrastructure wireless network environment, a subnet environment, etc. in one embodiment. The network devices 106 or APs can be operably coupled to the network hardware 192 via local area network connections. The network hardware 192, which can include a router, gateway, switch, bridge, modem, system controller, appliance, etc., can provide a local area network connection for the communication system. Each of the Network devices 106 or APs can have an associated antenna or an antenna array to communicate with the wireless communication devices in its area. The wireless communication devices 102 can register with a particular network device 106 or AP to receive services from the communication system (e.g., via a SU-MIMO or MU-MIMO configuration). For direct connections (e.g., point-to-point communications), some wireless communication devices can communicate directly via an allocated channel and communications protocol. Some of the wireless communication devices 102 can be mobile or relatively static with respect to network device 106 or AP.

In some embodiments an network device 106 or AP includes a device or module (including a combination of hardware and software) that allows wireless communication devices 102 to connect to a wired network using wireless-fidelity (WiFi), or other standards. A network device 106 or AP can sometimes be referred to as a wireless access point (WAP). A network device 106 or AP can be implemented (e.g., configured, designed and/or built) for operating in a wireless local area network (WLAN). A network device 106 or AP can connect to a router (e.g., via a wired network) as a standalone device in some embodiments. In other embodiments, network device 106 or AP can be a component of a router. network device 106 or AP can provide multiple devices access to a network. network device 106 or AP can, for example, connect to a wired Ethernet connection and provide wireless connections using radio frequency links for other devices 102 to utilize that wired connection. A network device 106 or AP can be implemented to support a standard for sending and receiving data using one or more radio frequencies. Those standards, and the frequencies they use can be defined by the IEEE (e.g., IEEE 802.11 standards). A network device 106 or AP can be configured and/or used to support public Internet hotspots, and/or on a network to extend the network's Wi-Fi signal range.

In some embodiments, the access points 106 can be used for (e.g., in-home or in-building) wireless networks (e.g., IEEE 802.11, Bluetooth, ZigBee, any other type of radio frequency based network protocol and/or variations thereof). Each of the wireless communication devices 102 can include a built-in radio and/or is coupled to a radio. Such wireless communication devices 102 and/or access points 106 can operate in accordance with the various aspects of the disclosure as presented herein to enhance performance, reduce costs and/or size, and/or enhance broadband applications. Each wireless communication device 102 can have the capacity to function as a client node seeking access to resources (e.g., data, and connection to networked nodes such as servers) via one or more access points 106.

The network connections can include any type and/or form of network and can include any of the following: a point-to-point network, a broadcast network, a telecommunications network, a data communication network, a computer network. The topology of the network can be a bus, star, or ring network topology. The network can be of any such network topology as known to those ordinarily skilled in the art capable of supporting the operations described herein. In some embodiments, different types of data can be transmitted via different protocols. In other embodiments, the same types of data can be transmitted via different protocols.

The communications device(s) 102 and access point(s) 106 can be deployed as and/or executed on any type and form of computing device, such as a computer, network device or appliance capable of communicating on any type and form of network and performing the operations described herein. FIGS. 1B and 1C depict block diagrams of a computing device 100 useful for practicing an embodiment of the wireless communication devices 102 or network device 106. As shown in FIGS. 1B and 1C, each computing device 100 includes a processor 121 (e.g., central processing unit), and a main memory unit 122. As shown in FIG. 1B, a computing device 100 can include a storage device 128, an installation device 116, a network interface 118, an I/O controller 123, display devices 124 a-124 n, a keyboard 126 and a pointing device 127, such as a mouse. The storage device 128 can include an operating system and/or software. As shown in FIG. 1C, each computing device 100 can also include additional optional elements, such as a memory port 103, a bridge 170, one or more input/output devices 130 a-130 n, and a cache memory 140 in communication with the central processing unit 121.

The central processing unit 121 is any logic circuitry that responds to and processes instructions fetched from the main memory unit 122. In many embodiments, the central processing unit 121 is provided by a microprocessor unit, such as: those manufactured by Intel Corporation of Santa Clara, Calif.; those manufactured by International Business Machines of White Plains, N.Y.; or those manufactured by Advanced Micro Devices of Sunnyvale, Calif. The computing device 100 can be based on any of these processors, or any other processor capable of operating as described herein.

Main memory unit 122 can be one or more memory chips capable of storing data and allowing any storage location to be directly accessed by the microprocessor 121, such as any type or variant of Static random access memory (SRAM), Dynamic random access memory (DRAM), Ferroelectric RAM (FRAM), NAND Flash, NOR Flash and Solid State Drives (SSD). The main memory 122 can be based on any of the above described memory chips, or any other available memory chips capable of operating as described herein. In the embodiment shown in FIG. 1B, the processor 121 communicates with main memory 122 via a system bus 150 (described in more detail below). FIG. 1C depicts an embodiment of a computing device 100 in which the processor communicates directly with main memory 122 via a memory port 103. For example, in FIG. 1C the main memory 122 can be DRDRAM.

FIG. 1C depicts an embodiment in which the main processor 121 communicates directly with cache memory 140 via a secondary bus, sometimes referred to as a backside bus. In other embodiments, the main processor 121 communicates with cache memory 140 using the system bus 150. Cache memory 140 typically has a faster response time than main memory 122 and is provided by, for example, SRAM, BSRAM, or EDRAM. In the embodiment shown in FIG. 1C, the processor 121 communicates with various I/O devices 130 via a local system bus 150. Various buses can be used to connect the central processing unit 121 to any of the I/O devices 130, for example, a VESA VL bus, an ISA bus, an EISA bus, a MicroChannel Architecture (MCA) bus, a PCI bus, a PCI-X bus, a PCI-Express bus, or a NuBus. For embodiments in which the I/O device is a video display 124, the processor 121 can use an Advanced Graphics Port (AGP) to communicate with the display 124. FIG. 1C depicts an embodiment of a computer 100 in which the main processor 121 can communicate directly with I/O device 130 b, for example via HYPERTRANSPORT, RAPIDIO, or INFINIBAND communications technology. FIG. 1C also depicts an embodiment in which local busses and direct communication are mixed: the processor 121 communicates with I/O device 130 a using a local interconnect bus while communicating with I/O device 130 b directly.

A wide variety of I/O devices 130 a-130 n can be present in the computing device 100. Input devices include keyboards, mice, trackpads, trackballs, microphones, dials, touch pads, touch screen, and drawing tablets. Output devices include video displays, speakers, inkjet printers, laser printers, projectors and dye-sublimation printers. The I/O devices can be controlled by an I/O controller 123 as shown in FIG. 1B. The I/O controller can control one or more I/O devices such as a keyboard 126 and a pointing device 127, e.g., a mouse or optical pen. Furthermore, an I/O device can also provide storage and/or an installation medium 116 for the computing device 100. In still other embodiments, the computing device 100 can provide USB connections (not shown) to receive handheld USB storage devices such as the USB Flash Drive line of devices manufactured by Twintech Industry, Inc. of Los Alamitos, Calif.

Referring again to FIG. 1B, the computing device 100 can support any suitable installation device 116, such as a disk drive, a CD-ROM drive, a CD-R/RW drive, a DVD-ROM drive, a flash memory drive, tape drives of various formats, USB device, hard-drive, a network interface, or any other device suitable for installing software and programs. The computing device 100 can further include a storage device, such as one or more hard disk drives or redundant arrays of independent disks, for storing an operating system and other related software, and for storing application software programs such as any program or software 120 for implementing (e.g., configured and/or designed for) the systems and methods described herein. Optionally, any of the installation devices 116 could also be used as the storage device. Additionally, the operating system and the software can be run from a bootable medium.

Furthermore, the computing device 100 can include a network interface 118 to interface to a network through a variety of connections including, but not limited to, standard telephone lines, LAN or WAN links (e.g., 802.11, T1, T3, 56 kb, X.25, SNA, DECNET), broadband connections (e.g., ISDN, Frame Relay, ATM, Gigabit Ethernet, Ethernet-over-SONET), wireless connections, or some combination of any or all of the above. Connections can be established using a variety of communication protocols (e.g., TCP/IP, IPX, SPX, NetBIOS, Ethernet, ARCNET, SONET, SDH, Fiber Distributed Data Interface (FDDI), RS232, IEEE 802.11, IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, IEEE 802.11n, IEEE 802.11ac, IEEE 802.11ad, CDMA, GSM, WiMax and direct asynchronous connections). In one embodiment, the computing device 100 communicates with other computing devices 100′ via any type and/or form of gateway or tunneling protocol such as Secure Socket Layer (SSL) or Transport Layer Security (TLS). The network interface 118 can include a built-in network adapter, network interface card, PCMCIA network card, card bus network adapter, wireless network adapter, USB network adapter, modem or any other device suitable for interfacing the computing device 100 to any type of network capable of communication and performing the operations described herein.

In some embodiments, the computing device 100 can include or be connected to one or more display devices 124 a-124 n. As such, any of the I/O devices 130 a-130 n and/or the I/O controller 123 can include any type and/or form of suitable hardware, software, or combination of hardware and software to support, enable or provide for the connection and use of the display device(s) 124 a-124 n by the computing device 100. For example, the computing device 100 can include any type and/or form of video adapter, video card, driver, and/or library to interface, communicate, connect or otherwise use the display device(s) 124 a-124 n. In one embodiment, a video adapter can include multiple connectors to interface to the display device(s) 124 a-124 n. In other embodiments, the computing device 100 can include multiple video adapters, with each video adapter connected to the display device(s) 124 a-124 n. In some embodiments, any portion of the operating system of the computing device 100 can be configured for using multiple displays 124 a-124 n. In further embodiments, an I/O device 130 can be a bridge between the system bus 150 and an external communication bus, such as a USB bus, an Apple Desktop Bus, an RS-232 serial connection, a SCSI bus, a FireWire bus, a FireWire 800 bus, an Ethernet bus, an AppleTalk bus, a Gigabit Ethernet bus, an Asynchronous Transfer Mode bus, a FibreChannel bus, a fiber optic bus, a Serial Attached small computer system interface bus, a USB connection, or a HDMI bus.

A computing device 100 of the sort depicted in FIGS. 1B and 1C can operate under the control of an operating system, which controls scheduling of tasks and access to system resources. The computing device 100 can be running any operating system such as any of the versions of the MICROSOFT WINDOWS operating systems, the different releases of the Unix and Linux operating systems, any version of the MAC OS for Macintosh computers, any embedded operating system, any real-time operating system, any open source operating system, any proprietary operating system, any operating systems for mobile computing devices, or any other operating system capable of running on the computing device and performing the operations described herein. Typical operating systems include, but are not limited to: Android, produced by Google Inc.; WINDOWS 7, 8 and 10, produced by Microsoft Corporation of Redmond, Wash.; MAC OS, produced by Apple Computer of Cupertino, Calif.; WebOS, produced by Research In Motion (RIM); OS/2, produced by International Business Machines of Armonk, N.Y.; and Linux, a freely-available operating system distributed by Caldera Corp. of Salt Lake City, Utah, or any type and/or form of a Unix operating system, among others.

The computer system 100 can be any workstation, telephone, desktop computer, laptop or notebook computer, server, handheld computer, mobile telephone or other portable telecommunications device, media playing device, a gaming system, mobile computing device, or any other type and/or form of computing, telecommunications or media device that is capable of communication. In some embodiments, the computing device 100 can have different processors, operating systems, and input devices consistent with the device. For example, in one embodiment, the computing device 100 is a smart phone, mobile device, tablet or personal digital assistant. Moreover, the computing device 100 can be any workstation, desktop computer, laptop or notebook computer, server, handheld computer, mobile telephone, any other computer, or other form of computing or telecommunications device that is capable of communication and that has sufficient processor power and memory capacity to perform the operations described herein.

Aspects of the operating environments and components described above will become apparent in the context of the systems and methods disclosed herein.

B. SAR ADC

Various embodiments disclosed herein are related to a SAR ADC, such as, a high speed SAR ADC or very high speed SAR ADC. In some embodiments, the SAR ADC is relatively immune to PVT variations and is configured for use in 200 G/100 G networking applications. In some embodiments, the systems and methods described herein for a SAR ADC used in network integrated circuits (ICs) such as a 225 Gbps PAM4 Optical Transceiver or other transceiver. In some embodiments, the systems and methods described herein provide a speed advantage without a significant power/area penalty. The SAR ADC can be utilized in or communicate with the various components discussed above with reference to FIGS. 1A-C. The SAR ADC can operate according to the principles described herein and use the conversion structure and operations described in U.S. Pat. No. 10,903,846 assigned to the assignee of the present application and incorporated herein by reference in its entirety. The SAR ADC can operate according to the principles described herein and use the conversion structure and operations described in U.S. patent application Ser. No. 17/699,678 (106861 6097) invented by Singh et al. and filed on an even date herewith and U.S. patent application Ser. No. 17/694,225 invented by Liu et al. and filed on Mar. 14, 2022, both assigned to the assignee of the present application and incorporated herein by reference in their entireties.

FIG. 2 is a block diagram depicting a communication device 200, according to one or more embodiments. In some embodiments, the communication device 200 is a system, a device, or an apparatus for network communications. For example, the communication device 200 is implemented as part of the network device 106, the node or network hardware 192, the device 102, or network equipment serving a network in communication with device 102. In some embodiments, the device 200 includes a transmitter 210, a receiver 220, and a processor 280. These components may operate together to communicate with another communication device through a network cable (e.g., Ethernet, USB, Firewire, etc.) and/or through a wireless medium (e.g., Wi-Fi, Bluetooth, 60 GHz link, cellular network, etc.). In some embodiments, the communication device 200 includes more, fewer, or different components than shown in FIG. 2 .

The transmitter 210 is a circuit or a component that receives transmit data TX Data from the processor 280, and generates output signals Out+, Out−. The transmitter 210 may receive N bits of digital data TX Data from the processor 280, and generate the output signals Out+, Out− having voltages or currents corresponding to the digital data TX Data. The output signals Out+, Out− may be differential signals. In some embodiments, the transmitter 210 may generate a single ended signal or a signal in a different representation for the output signals Out+, Out−. In some embodiments, the transmitter 210 transmits the output signals Out+, Out− through a network cable. In some embodiments, the transmitter 210 provides the output signals Out+, Out− to a wireless transmitter (not shown) that can upconvert the output signals Out+, Out− to generate a wireless transmit signal at a radio frequency and transmit the wireless transmit signal through a wireless medium.

The receiver 220 is a circuit or a component that receives input signals In+, In−, and generates receive data RX Data. In some embodiments, the receiver 220 receives the input signals In+, In− through a network cable. The input signals In+, In− may be differential signals. In some embodiments, the receiver 220 may receive a single ended signal or a signal in a different representation for the input signals In+, In−. In some embodiments, the receiver 220 receives the input signals In+, In− from a wireless receiver (not shown) that can receive a wireless receive signal through a wireless medium and downconvert the wireless receive signal to generate the input signals In+, In− at a baseband frequency. In some embodiments, the receiver 220 receives the input signals In+, In− and generates N bits of digital data RX Data corresponding to voltages or currents of the input signals In+, In−. The receiver 220 may provide the digital data RX Data to the processor 280. In some embodiments, the receiver 220 includes a SAR ADC 225 that can convert the input signals In+, In− into N-bit digital data RX Data.

The processor 280 is a circuit or a component that can perform logic computations. In some embodiments, the processor 280 is implemented as a field-programmable gate array, an application-specific integrated circuit, or state machine. The processor 280 may be electrically coupled to the transmitter 210 and the receiver 220 through conductive traces or bus connections. In this configuration, the processor 280 may receive the data RX Data from the receiver 220 and perform logic computations or execute various applications according to states of the received data RX Data. The processor 280 may also generate the data TX Data, and provide the data TX Data to the transmitter 210.

With reference to FIG. 3A, a SAR ADC 300 may be implemented as SAR ADC 225 illustrated in FIG. 2 . In some embodiments, the SAR ADC 300 includes a sample capacitor and digital to analog (CAP DAC) circuit 310, a comparator circuit 330, a conversion status circuit 350, a first set of storage circuits 360A, a second set of storage circuits 360B, an enable circuit 370, a clock path circuit 380, a controller 382, and a re-timer circuit 400. These components may operate together to receive input signals In+, In− and perform successive approximation analog to digital conversion to generate L-bit data RX Data corresponding to voltages of the input signals In+, In−, where L is any integer. In some embodiments, the SAR ADC 300 includes more, fewer or different components than shown in FIG. 3 . Although in FIG. 3A, the CAPDAC circuit 310, the comparator circuit 330, and the storage circuits 360A, 360B are shown as generating and processing differential signals, some or all of these components may generate and process single ended signals. Additional comparator circuits and storage circuits can be provided in a cascaded, pipelined or serial fashion (e.g., a two comparator design for SAR ADC 300). SAR ADC 300 is an IC device integrated on a single substrate, provided in a multi-chip package, or is part of another IC device in some embodiments.

In some embodiments, the CAPDAC circuit 310 is a circuit or a component that samples the input signals In+, In−, and generates DAC output signals DAC Out+, DAC Out−. In one implementation, the CAPDAC circuit 310 is embodied as a capacitive DAC circuit. In some embodiments, the CAPDAC circuit 310 includes inputs 311 and 312 configured to receive the input signals In+, In−, feedback ports 313, 314, 315, and 316 configured to receive L-bit data RX Data, and output ports 331 and 332 configured to output DAC output signals DAC Out+, DAC Out−. In some embodiments, N number of feedback ports 315 and 316 are coupled to N number of output ports of the first set of storage circuits 360A, and M number of feedback ports 314 and 314 are coupled to M number of output ports of the second set of storage circuits 360B, where M and N are any integers. In some examples, N may be 4, 6, 8, 9, 10, 16, 32, and M may be 4, 6, 8, 9, 10, 16 or 31. N and M can be equal and can be equal to L in some embodiments. The first output port 331 of the CAPDAC circuit 310 is coupled to a first input port of the comparator circuit 330 in some embodiments. The second output port 333 of the CAPDAC circuit 310 is coupled to a second input port of the comparator circuit 330. In some embodiments, the CAPDAC circuit 310 receives the input signals In+, In− at the inputs 311 and 312 and L-bit data RX Data at the feedback ports 313, 314, 315, and 316, and samples the input signals In+, In−. The CAPDAC circuit 310 may perform DAC, according to the L-bit data RX Data to generate DAC output signals DAC Out+, DAC Out− at the output ports 331 and 332. The CAPDAC circuit 310 may provide the DAC output signals DAC Out+, DAC Out− to the comparator circuit 330. In one approach, for a bit X^(th) of the L-bit data RX Data, the DAC output signals DAC Out+, DAC Out− indicate voltages (e.g., Vin+, Vin−) of the input signals In+, In− with voltages corresponding to L-X number of MSB(s) of Data RX. In one approach, the CAPDAC circuit 310 generates the DAC output signals DAC Out+, DAC Out−, according to the following equation:

V _(DAC Out+) −V _(DAC Out−)=(V _(in+) −V _(in−))Σ_(k=X) ^(L)2^(k−L−1)×Vref×(2*RXData(k)−1);

where V_(DAC Out+) is the voltage of the DAC Out+ signal, V_(DAC Out−) is the voltage of the DAC Out− signal, and V_(ref) is the reference voltage.

In some embodiments, the comparator circuit 330 is a circuit or a component that receives the DAC output signals DAC Out+, DAC Out−, and determines a state of a corresponding bit of the data RX Data according to the DAC output signals DAC Out+, DAC Out−. In some embodiments, the comparator circuit 330 includes a first output port 361 coupled to first input ports of the first set of storage circuits 360A via inverter 336 and inverter 1132, a second output port 362 coupled to input ports of the second set of storage circuits 360B via inverter 338 and inverter 1134, and a clock input 339 coupled to a conductor 373.

Conductor 373 is coupled to an output of flip flop 344 (e.g., D-flip flop) of clock path circuit 380. A clock path 340 includes conductor 373, inverters 336, 338, and clock path circuit 380 which includes a logic device 342, and flip flop 344. A data path 302 includes first set of storage circuits 360A and second set of storage circuits 360B and extends between feedback ports 313, 314, 315, and 316 of CAPDAC circuit 310 and output ports 361 and 362 of comparator circuit 330. The first output port 361 of the comparator circuit 330 may be directly coupled to the first input ports of the storage circuits 360A, and the second output port 362 of the comparator circuit 330 may be directly coupled to the input ports of the second storage circuits 360 b in some embodiments.

Comparator circuit 330 may be enabled or disabled according to the clock signal CLK_SAR at clock input 339 from the clock path circuit 380 on conductor 373. For example, comparator circuit 330 is enabled in response to a rising edge or logic state ‘1’ of the clock signal CLK_SAR and is disabled in response to a falling edge or logic state ‘0’ of the clock signal CLK_SAR. When the comparator circuit 330 is enabled, the comparator circuit 330 may determine a state of a bit according to the DAC output signals DAC Out+, DAC Out−, and generate comparator outputs Comp Out1+, Comp Out1− at the output ports 361 and 362 indicating the determined state of the bit. For example, when the comparator circuit 330 is enabled, in response to a difference in voltages of the DAC output signal DAC Out+, DAC Out− being higher than 0V or a reference voltage the comparator circuit 330 may generate the comparator output Comp Out1+ having a logic state ‘1’ and the comparator output Comp Out1− having a logic state ‘0’. For example, when the comparator circuit 330 is enabled, in response to a difference in voltages of the DAC output signals DAC Out+, DAC Out− being lower than 0V or the reference voltage, the comparator circuit 330 may generate the comparator output Comp Out1+ having a logic state ‘0’ and the comparator output Comp Out1− having a logic state ‘1’. When the comparator circuit 330 is disabled, the comparator circuit 330 may reset the comparator outputs Comp Out1+, Comp Out1− to logic state ‘0’. The comparator circuit 330 may provide the comparator outputs Comp Out1+, Comp Out1− to the first set of storage circuits 360A and the second set of storage circuits 360B. The comparator outputs Comp Out1+, Comp Out1− may be differential signals.

With reference to FIG. 3B, in some embodiments, the first set of storage circuits 360A is a set of components that stores N bits (e.g., 2, 4, 6, 8, 9, 16, 32 bits, etc.) of data. In one implementation, the first set of storage circuits 360A is embodied as N number of flip flops or latches. In some embodiments, the set of storage circuits 360A are ratioed set reset (SR) latches. In some embodiments, a first input port of each storage circuit 360A other than storage circuit 1102 is coupled to the first output port 361 (FIG. 3A) of the comparator circuit 330 through inverters 336 and 1132 (FIG. 3B). In some embodiments, an enable port of each storage circuit 360A is coupled to a corresponding enable output port of the enable circuit 370, and an output port of each storage circuit 360A is coupled to a corresponding feedback port 315 and 316 of the CAPDAC circuit 310. In some embodiments, the first input port of storage circuit 1102 in set of storage circuits 360A (e.g., corresponding to a most significant bit (MSB)) is coupled to the first output port 361 of the comparator circuit through inverter 336. In this configuration, each storage circuit 360A may be enabled or disabled according to a corresponding bit of enable signal EN on enable bus 371. For example, a first storage circuit of storage circuits 360A is enabled, in response to the enable signal EN being 00001 (the enable zero signal EN0); a second storage circuit of storage circuits 360A is enabled in response to the enable signal EN being 00010; a third storage circuit of storage circuits 360A is enabled, in response to the enable signal EN being 00100; a fourth storage circuit of storage circuits 360A is enabled in response to the enable the enable signal EN being 01000; and a fifth storage circuit of storage circuits 360A is enabled in response to the enable signal EN being 10000. The enable scheme follows the scheme as set forth above for the remaining storage circuits 360A and 360B in some embodiments. For example, all of the first set of storage circuits 360A are disabled, in response to the enable signal EN being 00000. When a storage circuit 360A is enabled, the storage circuit 360A may update a corresponding bit of data RX Data, according to the comparator outputs Comp Out1+, Comp Out1−. For example, if a storage circuit 360A is enabled, in response to the comparator output Comp Out1+ having a logic state ‘1’ and the comparator output Comp Out1− having a logic state ‘0’, the storage circuit 360A may update a corresponding bit of the data RX Data to ‘1’. For example, if a storage circuit 360A is enabled, in response to the comparator output Comp Out1− having a logic state ‘1’ and the comparator output Comp Out1+ having a logic state ‘0’, the storage circuit 360A may update a corresponding bit of the data RX Data to ‘0’. If a storage circuit of storage circuits 360A is disabled, the storage circuit may hold or maintain a corresponding bit of the data RX Data, irrespective of the comparator outputs Comp Out1+, Comp Out1− at the input ports.

In some embodiments, the second set of storage circuits 360B is a set of components that stores M bits of data. In one implementation, the second set of storage circuits 360B is embodied as M number of flip flops or latches. In some embodiments, the set of storage circuits 360B are ratioed set reset (SR) latches. Ratioed SR latches are SR latches that are configured to drive outputs for feedback ports 313, 314, 315, and 316 in accordance with their bit position. In some embodiments, a first input port of each storage circuit 360B except for storage circuit 1104 is coupled to the first output port 362 (FIG. 3A) of the comparator circuit 330 through inverters 338 and 1134. In some embodiments, an enable port of each storage circuit 360B is coupled to a corresponding enable output port of the enable circuit 370 via bus 371. In some embodiments, the first input port of storage circuit 1104 (FIG. 3B) in set of storage circuits 360B (e.g., corresponding to a most significant bit (MSB)) is coupled to the first output port 362 of the comparator circuit 330 through inverter 338. An output port of each storage circuit 360B is coupled to a corresponding feedback port 313 and 314 of the CAPDAC circuit 310. In some embodiments, operation of the storage circuits 360B is similar to the operation of the first set of storage circuits 360A and the enabling of the storage circuits 360B using the enable signal EN on bus 371 occurs as discussed above. In some embodiments, storage circuits 360A are for the positive portion of the differential signal, and storage circuits 360B are for the negative portion of the differential signal.

By directly driving only a single storage element, the storage circuit 1102 with a driver (e.g., inverter 336) and directly driving the storage circuit 1104 with only a driver (e.g., inverter 338), the load of the comparator driver (e.g., inverters 336 and 338) is reduced. This drive scheme can also simplify circuit layout. The remaining storage circuits of storage circuits 360A-B are driven by different drivers (e.g., inverters 1132 and 1134, respectively) in some embodiments. The delay in the data path 302 (FIG. 3A) can be reduced by using an SR latch directly driving CAPDAC circuit 310 as opposed to using ratioed inverters between storage circuits 360A-B and CAPDAC circuit 310. With reference to FIG. 3B, the enable 0 (EN0) signal on conductor 345 resets CAPDAC circuit 310 by driving the gates of switches 1130 in CAPDAC circuit 310. The storage circuits 360A and 360B are enabled by the enable signal EN provided on bus 371 as described above.

Re-timer circuit 400 is a flip flop or latched based circuit that receives outputs from storage circuits 360A and 360B. Re-timer circuit 400 aligns timing for downstream devices or components in some embodiments.

In some embodiments, the conversion status circuit 350, enable circuit 370, and clock path circuit 380 cause the comparator circuit 330 and the storage circuits 360A, 360B to perform successive approximation analog to digital conversion. In some embodiments, the conversion status circuit 350, enable circuit 370, and clock path circuit 380 are implemented as a state machine and/or digital logic circuits. In some embodiments, a conductor 372 receives a T clock signal (T CLK), for example, from a clock generator (not shown). The T clock signal is a sampling clock and has a period corresponding to the sampling cycle.

With reference to FIG. 3A, the clock path circuit 380 provides the CLK_SAR signal on clock path 340 at conductor 373 for comparator circuit 330 and enable circuit 370 which provides enable signals on bus 371. Flip flop 344 is configured as a D-type flip flop and includes an input coupled to conductor 345 which receives the enable 0 (EN0) signal from enable circuit 370. Flip flop 344 includes a clock input coupled to logic device 342 which can be configured a NAND gate. Logic device 342 receives signals from inverters 336 and 338. Inverters 336, 338, 1132 and 1134 are configured as a comparator driver. The CLK_SAR signal is an internally generated clock signal provided by flip flop 344, logic device 342, inverters 336 and 338 and comparator circuit 330 in some embodiments. The CLK_SAR signal is generated from comparator transitions and the enable 0 (EN0) signal in some embodiments.

Enable circuit 370 is a latch or flip flop (e.g., D flip flop) based timing circuit that provides the enable EN signal on bus 371 in response to the clock signal on conductor 373. Each flip flop or latch in enable circuit 370 is driven at a clock input by the CLK_SAR signal on conductor 373 and provides a bit of the enable EN signal on bus 371. The enable 0 (EN0) signal from enable circuit 370 is provided on conductor 345 for use by conversion status circuit 350 and flip flop 344 of clock path circuit 380. The enable 0 (EN0) signal, which is an indicator of the start of the last conversion cycle, is used to force an early reset (e.g., using transistors 1130 (FIG. 3B)) via conductor 345. The transistor 303 can be used to reset CAP DAC circuit 310 using the enable 0 (EN0) signal or other reset signal. A delay can be provided in the reset path associated with the enable 0 (EN0) signal to ensure that the last conversion is not affected.

Conversion status circuit 350 includes an inverter 352, a conversion margin indicator circuit 354 and a conversion status output 356. Inverter 352 receives the T clock signal at a conductor 372 and provides a CLK_RT signal to conversion margin indicator circuit 354. Conversion margin indicator circuit 354 receives the enable 0 (EN0) signal at conductor 345 and receives the CLK_SAR signal at conductor 372. Conversion status circuit 350 provides a conversion status signal at output 356 indicative of the status conversion operation. Conversion margin indicator circuit 354 provides signals for determining a conversion margin using the CLK_RT signal, enable 0 (EN0) signal, and the CLK_SAR signal at conductor 372.

In some embodiments, controller 382 is an on-chip controller configured to determine a conversion margin and adjust current and voltage parameters to achieve faster operation or less noise. Advantageously, controller 382 implements systems and methods described herein for determining conversion margin and adjusting voltage and current parameters in some embodiments. The controller 382 can be a hardware implementation or software (e.g., firmware implementation) integrated with SAR ADC 300 (e.g., provided as part of conversion status circuit 350 or other part or parts of SAR ADC 300). In some embodiments, the processor or controller 382 determines a probability of a successful conversion being greater than a first threshold, and the successful conversion is defined when the conversion margin is greater than a second threshold. In some embodiments, controller 382 is processor, microcontroller, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or logic device, or any other type and form of dedicated semiconductor logic or processing circuitry capable of processing or supporting the operations described herein. In some embodiments, operations associated with controller 382 are performed wholly or in part by processor 280 (FIG. 2 ).

With reference to FIG. 4 , conversion margin indicator circuit 354 includes a D flip flop 402, a variable time delay circuit 404 and a D flip flop 406. Variable time delay circuit 404 is a programmable or configurable circuit that provides a selectable delay in some embodiments. D flip flop 402 includes a reset input coupled to conductor 353 for receiving the CLK_RT signal from inverter 352 (FIG. 3 ), and D flip flop 406 includes a clock input coupled to conductor 353 for receiving the CLK_RT signal from inverter 352. A D input of flip flop 402 is coupled to conductor 345 to receive the enable 0 (EN0) signal. An output of D flip flop 402 is coupled to an input of delay circuit 404. The clock input of D flip flop 402 is coupled to conductor 372 to receive the CLK_SAR signal. The D input of flip flop 406 is coupled to receive a conversion done signal from variable time delay circuit 404.

The conversion done signal indicates when a conversion of the analog signal at inputs 311 and 312 to a digital representation in storage circuits 360A-B has been completed in some embodiments. The conversion status signal is indicative that the conversion has occurred before the end of the sampling cycle in some embodiments. The conversion margin can be represented by or be proportional to a difference of the leading edge of the conversion done signal and the conversation status signal in some embodiments. In some embodiments, the conversion status circuit 350 provides the conversion status signal at output 356. SAR ADC 300 (e.g., microcontroller 382) can apply adaptive feedback technique using the conversion margin determined from the conversion status signal and the conversion done signal or other parameter related thereto. The adaptive feedback can advantageously compensate for noise from comparator circuit 330 and process dependency associated with the driver (e.g., inverter 336 and 338) for the comparator circuit 330. In some embodiments, the conversion margin indicator circuit 354 is configured so that the approximate value of conversion margin using the conversion status signal can be deduced.

With reference to FIG. 5 , wave form 502 is the CLK_RT signal at conductor 353. Wave form 504 is the conversion done signal indicating that the conversion has been completed and is provided by time delay circuit 404 to the D input of flip flop 406. Wave form 506 is the conversion status signal at output 356. Wave form 508 is a conversion done signal with a time delay of T_(D1) and is provided by time delay circuit 404. Wave form 510 is the conversion status signal at output 356 when the time period T_(M) is greater than the time delay T_(D1). The time period T_(M) is proportional to the conversion margin. The wave form 512 is a conversion done signal with a time delay of T_(D2) and is provided by time delay circuit 404. Wave form 514 is the conversion status signal at output 356 when the time period T_(M) is less than the time delay T_(D2). The time period T_(M) is determined using a destructive measurement of the conversion status signal at output 356. For example, the value T_(D) is varied until the conversion status signal at output 356 flips from 1 to 0 such that the value of the time delay T_(D) corresponds to time period T_(M) (see wave form 514). The time delay T_(D) is provided by the variable time delay circuit 404. In general, the time period T_(M) and hence the conversion margin varies with the input to SAR ADC 300, system noise and metastable events.

In some embodiments, SAR ADC 300 employs a monitoring scheme that collects the values of the time period T_(M) or other representations of the conversion margin. The values are collected over time. Values are collected as the time delay is varied in some embodiments. A probability that the time period T_(M) is greater than a certain value can be calculated for various time delays. When the time period T_(M) is greater than the time delay T_(D), a curve of the probability versus time period T_(M) flattens out, thereby indicating a minimum conversion margin value at that delay. The delay can be used as a minimum conversion margin value which can be used to provide adaptive feedback for SAR ADC 300 as described below.

With reference to FIG. 6 , comparator circuit 330 includes an adjustable current source circuit 700 in some embodiments. Current source circuit 700 includes transistor 702, a current source 704, a multiplexer 706, a transistor 710, and a transistor 712 configured as an adjustable current source for transistors 714, 716, 718, and 720 of the comparator circuit 330. Transistor 712 is driven by the CLK_SAR signal in some embodiments. Transistors 714, 716, 718, and 720 are the first stage of comparator circuit 330, receive the signals at output ports 331 and 332 (FIG. 3 ), and can be part of a high speed comparator in some embodiments. Transistor 710 is configured to provide a current I_(bias) within a range of I_(max) and I_(min). The value of current I_(bias) is controlled by multiplexer 706 which selects a ground signal or a signal from between transistor 702 and current source 704 based on a selection signal provided to the select input of multiplexer 706. The selection signal is provided by controller 382 in some embodiments. The multiplexer 706 drives transistor 710 in accordance with the selection. For a low speed corner (SS), the current source value is adjusted to I_(max) for high speed in some embodiments. For a high speed corner (FF), the current source value is adjusted to I_(min) for low speed in some embodiments. The selection signal is related to the time period T_(M) where larger conversion margin indicates lower I_(bias) should be provided by transistor 710 and vice versa.

With reference to FIG. 7 , comparator circuit 330 includes an adjustable driver circuit 800. Adjustable driver circuit 800 includes a transistor 804, a multiplexer 806, a current source 820, a transistor 814, a transistor 824, a transistor 826, a transistor 828, and a transistor 830. Adjustable driver circuit 800 is an adjustable comparator driver for a high speed comparator and can be provided at outputs 361 and 362 (FIG. 3A) in some embodiments. The value of the current I_(biasi) is controlled by multiplexer 806 which selects a ground signal or a signal from a node between transistor 804 and current source 820 to drive current I_(biasi) for transistors 824, 828, 826, and 830. The select signal at select input of multiplexer 806 is used to tune adaptively the current I_(biasi). The select signal is based upon the conversion margin and can be provided by controller 382 (FIG. 3 ). The current I_(biasi) through transistor 814 is adjusted to change the current I_(biasi) without affecting speed significantly in some embodiments. The selection signal is related to the time period T_(M) where larger conversion margin indicates lower I_(biasi) should be provided by transistor 814 and vice versa.

With reference to FIG. 8 , comparator circuit 330 can includes an adjustable driver circuit 900. Adjustable driver circuit 900 includes an input 902, a transistor 904, a transistor 906, a transistor 908, a transistor 912, a transistor 914, a multiplexer 916, a transistor 920, a multiplexer 922, a transistor 924, and an output 930. Adjustable driver circuit 900 is configured as an adjustable comparator driver for a high speed comparator and can be provided at outputs 361 and 362 in some embodiments. The value of the driver threshold voltage V_(th) is controlled by multiplexers 916 and 922 which selects a voltage signal V_(DD) or a clock signal (e.g., CLK_SAR) to drive transistor 914 and 924, respectively. The select signals at select inputs of multiplexers 916 and 922 are used to tune adaptively the driver threshold voltage V_(th). The select signals are based upon the conversion margin and can be provided by controller 382 (FIG. 3 ). The selection signals are related to the time period T_(M) where a larger conversion margin indicates lower threshold voltage V_(th) should be provided by transistors 914 and 924. In some embodiments, the time period T_(M) is used to set V_(DD) where a larger conversion margin indicates lower voltage V_(DD) should be provided and vice versa.

With reference to FIG. 9 , SAR ADC 300 can perform a flow 1000 to measure statistics or values associated with the conversion status signal (e.g., wave form 506 (FIG. 5 )). Flow 1000 is performed to estimate a probability of the conversion status signal being 1 (e.g., wave form 510 as opposed to wave form 514 in FIG. 5 ). The probability P(CS) can be determined by comparing the conversion margin to a value in some embodiments. The value can be a fixed value, a percentage of the sample cycle, etc. The probability is a probability of a successful conversion, and a successful conversion is defined when the conversion margin is greater than a threshold in some embodiments. The probability can be represented by curves 1106, 1108, and 1110 provided on an X-axis representing conversion margin in time and a Y-Axis representing probability. Curves 1106, 1108, and 1110 are each for a particular time delay (100 picoseconds (ps), 200 ps, 300 ps). The flow 1000 is performed so that SAR ADC 300 operates at the intersection of the linear and flat portion of curves 1106, 1108, and 1110 for a given delay T_(D), thereby providing a more optimum power, noise, and bit error rate (BER) tradeoff according to some embodiments. Generally, the flat portion of curves 1106, 1108, and 1110 begins when the conversion margin is greater than the time delay T_(D).

Flow 1000 includes an operation 1002 where the current I_(bias) is adjusted (FIG. 7 ). If current I_(bias) is greater than I_(min), the probability is estimated in an operation 1004. If the probability is above a threshold (e.g., a percentage above 90 percent (e.g., 0.95)), flow 1000 returns to operation 1002. If the probability is below a threshold (e.g., a percentage above 90 percent (e.g., 0.95 or 1.0)), flow 1000 ends adjustments in operation 1006. If current I_(bias) (FIG. 7 ) is less than Irvin (minimum value of adjustable bias current of the comparator circuit 330), the voltage threshold V_(th) (FIG. 9 ) or the current I_(biasi) (FIG. 8 ) is adjusted in an operation 1010. The voltage threshold V_(th) or the current I_(biasi) is adjusted to increase speed in operation 1010 in some embodiments. If current I_(biasi) is greater than T_(mini) or the voltage threshold V_(th) is greater than V_(min) (depending on implementation, see FIGS. 8 and 9 ), the probability is estimated in an operation 1012. If the probability is above a threshold (e.g., a percentage above 90 percent (e.g., 0.95 or 1.0)), flow 1000 returns to operation 1008. If the probability is just below or approximately equal to a threshold (e.g., a percentage above 90 percent (e.g., 0.95 or 1.0)), flow 1000 ends adjustments in operation 1016. If current I_(biasi) is less than T_(mini) (minimum value of adjustable bias current of the comparator driver) or the voltage threshold V_(th) is less than V_(min) (e.g., maximum NMOS adjustable code of the comparator driver), the voltage signal V_(DD) is adjusted (e.g., lower) in an operation 1020. If the voltage signal V_(DD) is greater than V_(DDmin) (minimum supply voltage for SAR ADC 300), the probability is estimated in an operation 1022. If the probability is above a threshold (e.g., a percentage above 90 percent (e.g., 0.95 or 1.0)), flow 1000 returns to operation 1020. If the probability is just below or approximately equal to a threshold (e.g., a percentage above 90 percent (e.g., 0.95 or 1.0)), flow 1000 ends adjustments in operation 1026. Flow 1000 can operate operations 1010, 1012, and 1016 for both threshold voltage V_(th) and current I_(biasi) together or sequentially. The order of branch of operations 1002, 1004, and 1006, branch of operations 1010, 1012, 1016, and branch of operations 1020, 1022, and 1026 can be switched in some embodiments.

Flow 1000 can be performed in controller 382. Flow 1000 can include fewer operations, such as operations 1002, 1004 and 1006 or operations 1010, 1012, and 1016, or operations 1020, 1022, and 1026. Flow 1000 can be combined with other operations. The flow 1000 can be implemented in a hardware implementation or software (e.g., firmware implementation) (e.g., provided as part of conversion status circuit 350 or other part or parts of SAR ADC 300). In some embodiments, controller 382 is any type and form of dedicated semiconductor logic or processing circuitry capable of processing or supporting flow 1000. Flow 1000 can include software instructions provided on a non-transitory medium and can be implemented by executing the instructions on controller 382. Flow 1000 can be performed at chip initialization, at power on, and periodically during operation. The conversion margin can be periodically calculate to determine if adjustments need to be made as the SAR ADC 300 operates (e.g., heats up). The flow 1000 can be performed periodically in millisecond time periods (e.g., every 4 milliseconds at start up and every 100-400 milliseconds during operation). In some embodiments, historical values of conversion margin are determined and stored. Large deltas between values can be used to initiate flow 1000. In some embodiments, the conversion margin is indicative of an amount of unused time before a bit error occurs within a sampling cycle.

It should be noted that certain passages of this disclosure can reference terms such as “first” and “second” in connection with devices or operations for purposes of identifying or differentiating one from another or from others. These terms are not intended to merely relate entities (e.g., a first device and a second device) temporally or according to a sequence, although in some cases, these entities can include such a relationship. Nor do these terms limit the number of possible entities that can operate within a system or environment. It should be understood that the systems described above can provide multiple ones of any or each of those components and these components can be provided on either a standalone machine or, in some embodiments, on multiple machines in a distributed system. In addition, the systems and methods described above can be provided as one or more computer-readable programs or executable instructions embodied on or in one or more articles of manufacture, e.g., a floppy disk, a hard disk, a CD-ROM, a flash memory card, a PROM, a RAM, a ROM, or a magnetic tape. The programs can be implemented in any programming language, such as LISP, PERL, C, C++, C #, or in any byte code language such as JAVA. The software programs or executable instructions can be stored on or in one or more articles of manufacture as object code. Further, certain components may be coupled together with intervening components provided there between.

While the foregoing written description of the methods and systems enables one of ordinary skill to make and use embodiments thereof, those of ordinary skill will understand and appreciate the existence of variations, combinations, and equivalents of the specific embodiment, method, and examples herein. The present methods and systems should therefore not be limited by the above described embodiments, methods, and examples, but by all embodiments and methods within the scope and spirit of the disclosure. 

1. A device comprising: a digital to analog conversion (DAC) circuit; a comparator circuit coupled to the DAC circuit; a set of storage circuits coupled to the comparator circuit and the DAC circuit, the set of storage circuits is configured to store a plurality of bits corresponding to an input voltage; and a control circuit coupled to the comparator circuit, the control circuit configured to adjust a bias current used in the comparator circuit, a threshold voltage used in the comparator circuit, or a supply voltage used in the comparator circuit in response to a conversion margin.
 2. The device of claim 1, wherein the conversion margin is indicative of an amount of unused time before a bit error occurs within a sampling cycle.
 3. The device of claim 1, wherein the control circuit is configured to determine the conversion margin and adjust the bias current, the threshold voltage, or the supply voltage on a periodic basis.
 4. The device of claim 1, wherein the control circuit is configured to determine the conversion margin and adjust the bias current, the threshold voltage, or the supply voltage at device power-on.
 5. The device of claim 1, wherein the control circuit is configured to adjust the bias current and the threshold voltage.
 6. The device of claim 1, wherein the control circuit is configured to adjust the bias current in response to the conversion margin and the bias current is for a current mirror or a driver in the comparator circuit.
 7. The device of claim 1, wherein the control circuit is configured to adjust the threshold voltage in response to the conversion margin and the threshold voltage is used by a driver in the comparator circuit.
 8. The device of claim 1, wherein the control circuit is configured to adjust the supply voltage in response to the conversion margin.
 9. The device of claim 1, further comprising a conversion status circuit configured to provide a conversion status signal, where the conversion status circuit comprises a variable delay circuit, wherein the control circuit adjusts the variable delay circuit to determine the conversion margin.
 10. An apparatus, comprising: a receiver comprising: a analog to digital conversion (ADC) circuit comprising: a comparator; and a processor configured to determine a conversion margin and adjust a current or voltage used in the comparator using the conversion margin.
 11. The apparatus of claim 10, wherein the processor provides one or more select signals to a multiplexer in the comparator to adjust the current or the voltage.
 12. The apparatus of claim 10, wherein the processor is configured to adjust the supply current such that probability of a successful conversion is greater than a first threshold, wherein a successful conversion is defined when the conversion margin is greater than a second threshold.
 13. The apparatus of claim 10, wherein the processor is configured to adjust the voltage such that probability of a successful conversion is greater than a first threshold, wherein a successful conversion is defined when the conversion margin is greater than a second threshold.
 14. The apparatus of claim 10, wherein the processor is configured to adjust the voltage such that probability of a successful conversion is greater than a first threshold, wherein a successful conversion is defined when the conversion margin is greater than a second threshold, wherein the voltage is a supply voltage for a driver in the comparator.
 15. The apparatus of claim 10, wherein the comparator and the processor are provided and the processor is a microprocessor, on on-chip integrated logic circuit, or an analog correction loop circuit in an integrated circuit package.
 16. The apparatus of claim 10, wherein the processor is configured to determine a probability of a successful conversion is greater than a first threshold and end adjustments when the current is above a minimum current value and the probability is approximately equal to the first threshold.
 17. The apparatus of claim 10, wherein the processor is configured to determine that a probability of a successful conversion is greater than a first threshold, wherein a successful conversion is defined when the conversion margin is greater than a second threshold, the processor adjusting the current when the current is above a minimum current value and the probability is above the first threshold, and wherein the processor is configured to adjust the voltage, the processor adjusting the voltage when the voltage is above a minimum voltage value and the probability is above the first threshold.
 18. A method comprising: sampling an input voltage by a comparator coupled to a digital to analog converter; determining, by the comparator coupled to a set of storage circuits, a state of a plurality of bits corresponding to the input voltage, wherein the comparator has a current parameter or voltage parameter adjusted based upon a conversion margin, wherein adjustment of the current parameter or the voltage parameter affects speed of determining the state of the bits; and storing the bits in the set of the storage circuits.
 19. The method of claim 18, wherein the conversion margin is related to a delay value determined in response to a sample clock and at least one enable signal for storage circuits coupled to the comparator.
 20. The method of claim 18, wherein the adjustment is made in response to a probability of a successful conversion is greater than a first threshold, wherein a successful conversion is defined when the conversion margin is greater than a second threshold. 